package com.cloud.class05.service;

import com.cloud.class05.entities.Storage;

public interface StorageService {
    /**
     * 扣减库存
     */
    void decrease(Long productId, Integer count);

    Storage getStorageById(Long id);
}
